package mest.service.hank.impl;

import mest.dao.hank.warehouse_takematerialMapper;
import mest.entity.warehouse_takematerial;
import mest.service.hank.WarehouseTakematerialService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class WarehouseTakematerialServiceImpl implements WarehouseTakematerialService {
    @Resource
    private warehouse_takematerialMapper wtm;

    @Override
    public int deleteByPrimaryKey(Integer id, String theirDb) {
        return wtm.deleteByPrimaryKey(id,  theirDb);
    }

    @Override
    public int insert(warehouse_takematerial record, String theirDb) {
        return wtm.insert(record,  theirDb);
    }

    @Override
    public int insertSelective(warehouse_takematerial record, String theirDb) {
        return wtm.insertSelective(record,  theirDb);
    }

    @Override
    public warehouse_takematerial selectByPrimaryKey(Integer id, String theirDb) {
        return wtm.selectByPrimaryKey(id,  theirDb);
    }

    @Override
    public int updateByPrimaryKeySelective(warehouse_takematerial record, String theirDb) {
        return wtm.updateByPrimaryKeySelective(record,  theirDb);
    }

    @Override
    public int updateByPrimaryKey(warehouse_takematerial record, String theirDb) {
        return wtm.updateByPrimaryKey(record,  theirDb);
    }

    //这里需要查询方法

}